﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;

namespace LdtJudge.DataEngine.Model.XMLConfigModel.LawElementModel
{
    /// <summary>
    /// 法条定位配置
    /// </summary>
    [Serializable]
    [XmlRootAttribute("root", IsNullable = false)]
    public class LawLocateConfigModel
    {
        [XmlElementAttribute("casetype", IsNullable = false)]
        public List<LawLocateCaseType> lawCaseTypeList { get; set; }
    }

    /// <summary>
    /// 案件类型
    /// </summary>
    public partial class LawLocateCaseType
    {
        /// <summary>
        /// 案件类型编号
        /// </summary>
        [XmlAttribute("code")]
        public string code { get; set; }

        /// <summary>
        /// 法条定位详情
        /// </summary>
        [XmlElementAttribute("law")]
        public LawLocateDetail lawLocateDetail { get; set; }
    }

    /// <summary>
    /// 法条定位详情
    /// </summary>
    public partial class LawLocateDetail
    {
        /// <summary>
        /// xpath路径
        /// </summary>
        [XmlAttribute("xmlpath")]
        public string xmlPath { get; set; }
    }
}
